package com.baosight.risk.api.riaa;

import com.baosight.risk.base.service.BaseService;
import com.baosight.risk.service.riaa.entity.RiquInquiryComp;
import com.baosight.risk.service.riaa.entity.RiquInquiryDetail;
import com.baosight.risk.service.riaa.vo.RiquInquiryCompVO;
import com.baosight.risk.service.riaa.vo.RiquInquiryDetailVO;
import com.baosight.risk.service.xtzy.entity.XtzyUser;

import java.util.List;

public interface RiquInquiryCompService extends BaseService<RiquInquiryComp> {

    List<RiquInquiryComp> selectList(RiquInquiryComp inquiryComp);

    List<RiquInquiryComp> getByIds(List<String> ids);

    RiquInquiryCompVO getById(String id);

    List<RiquInquiryDetailVO> quesAnalysis(String quId);

    List<RiquInquiryComp> queryInquiryInfo(RiquInquiryComp inquiryComp);

    RiquInquiryCompVO saveInquiry(RiquInquiryCompVO compVO, XtzyUser user);

    Integer deleteDetailById(String id) throws Exception;

    Integer saveSubmit(RiquInquiryCompVO compVO, XtzyUser user);

}
